package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据校验日志对象 sys_data_check_log
 * 
 * @author ruoyi
 * @date 2022-05-18
 */
public class SysDataCheckLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据校验日志ID */
    private Long id;

    /** 日志名称 */
    @Excel(name = "日志名称")
    private String name;

    /** 命中源 */
    @Excel(name = "命中源")
    private String source;

    /** 命中项 */
    @Excel(name = "命中项")
    private String term;

    /** 起始位置 */
    @Excel(name = "起始位置")
    private String pos;

    /** 结束位置 */
    @Excel(name = "结束位置")
    private String endPos;

    /** 错误类型 */
    @Excel(name = "错误类型")
    private String errorType;

    /** 源环绕 */
    @Excel(name = "源环绕")
    private String sourceAround;

    /** 结束位置 */
    @Excel(name = "结束位置")
    private String hint;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setTerm(String term) 
    {
        this.term = term;
    }

    public String getTerm() 
    {
        return term;
    }
    public void setPos(String pos) 
    {
        this.pos = pos;
    }

    public String getPos() 
    {
        return pos;
    }
    public void setEndPos(String endPos) 
    {
        this.endPos = endPos;
    }

    public String getEndPos() 
    {
        return endPos;
    }
    public void setErrorType(String errorType) 
    {
        this.errorType = errorType;
    }

    public String getErrorType() 
    {
        return errorType;
    }
    public void setSourceAround(String sourceAround) 
    {
        this.sourceAround = sourceAround;
    }

    public String getSourceAround() 
    {
        return sourceAround;
    }
    public void setHint(String hint) 
    {
        this.hint = hint;
    }

    public String getHint() 
    {
        return hint;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("source", getSource())
            .append("term", getTerm())
            .append("pos", getPos())
            .append("endPos", getEndPos())
            .append("errorType", getErrorType())
            .append("sourceAround", getSourceAround())
            .append("hint", getHint())
            .append("createTime", getCreateTime())
            .toString();
    }
}
